package fristphase.day9_13;

import java.util.Arrays;

public class StringSplit {
    public static void main(String[] args) {
        String str = ".safbsa0w..12djv......";
        String regex = "\\.";

        String[] data = str.split(regex);

        System.out.println(Arrays.toString(data));

        for (int i = 0; i < data.length; i++) {
            System.out.println(data[i]);
        }
    }
}
